package com.fausto.learnimprint.domain

import com.fausto.learnimprint.BlogApplicationTests
import com.fausto.learnimprint.core.service.IBlogService
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired

class BlogTests: BlogApplicationTests() {

    @Autowired
    lateinit var blogService: IBlogService

    @Test
    fun findBlogById(){
        println(blogService.findBlogById(1))
    }
}